<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>登录</title>
</head>

<style>
.login-container {
	min-height: 100%;
	width: 100%;
	overflow: hidden;
}

.login-form {
	position: relative;
	width: 520px;
	max-width: 100%;
	padding: 160px 35px 0;
	margin: 0 auto;
	overflow: hidden;
}

input {
	margin-top: 10px;
	width: 350px;
	height: 30px;
	border-radius: 3px;
	border: 1px #46a6ff solid;
	padding-left: 2px;
}

.btn {
	width: 350px;
	height: 35px;
	line-height: 35px;
	cursor: pointer;
	margin-top: 20px;
	border-radius: 3px;
	background: #46a6ff;
    border-color: #46a6ff;
	color: #FFFFFF;
	font-size: 15px;
}

.title {
	margin-top: 5px;
	font-size: 18px;
}
</style>
<body>
	<div class="login-container">
		<form th:action="${'/authentication/base'}" method="post"
			class="login-form">
			<h3 class="title">单点登录</h3>
			<input type="text" id="user-name-label" th:value="${username}"
				required name="username" class="form-control" placeholder="用户名">
			<input type="password" id="password-label" th:value="${password}"
				required name="password" class="form-control" placeholder="密码">
			<button type="submit" class="btn btn-primary btn-block">登 录</button>
		</form>
	</div>
</body>
</html>